﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;
using Volo.Abp;

namespace Himp.DataHub
{
    /// <summary>
    /// 科室诊间
    /// </summary>
    public class DeptConsultRm : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 操作间编码
        /// </summary>
        public string ConsultRmCodg { get; set; }

        /// <summary>
        /// 操作间名称
        /// </summary>
        public string ConsultRmName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public EnumConsultRmType ConsultRmType { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int Srtno { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DeptConsultRm()
        {

        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="wsCodg"></param>
        /// <param name="wsName"></param>
        /// <param name="srtno"></param>
        public DeptConsultRm(Guid deptInfoId, string consultRmCodg, string consultRmName, int? srtno)
        {
            ConsultRmCodg = consultRmCodg;
            ConsultRmName = consultRmName;
            Srtno = srtno ?? 0;
        }
    }
}
